import Vue from 'vue'
import App from './App.vue'
import router from './router'
import axios from "axios";
import store from './store'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css'
import {postRequest} from "./utils/api";
import {putRequest} from "./utils/api";
import {getRequest} from "./utils/api";
import {deleteRequest} from "./utils/api";
// 按钮组件 全局使用
import KtButton from '@/permission/ktButton.vue'

Vue.component("KtButton",KtButton);

Vue.use(ElementUI)
Vue.prototype.postRequest=postRequest;
Vue.prototype.putRequest=putRequest;
Vue.prototype.getRequest=getRequest;
Vue.prototype.deleteRequest=deleteRequest;
Vue.config.productionTip = false

Vue.prototype.editLabelID = { id: 0 }
Vue.prototype.editLabelType = { type: '' }



new Vue({
  router,
  store,
  axios,
  render: h => h(App)
}).$mount('#app')
